package io.renren.modules.demo.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 线上订单表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-16
 */
@Data
public class XlsShopOrdersExcel {
    @Excel(name = "订单")
    private Long id;
    @Excel(name = "订单号")
    private String orderNo;
    @Excel(name = "买家id")
    private Long userId;
    @Excel(name = "订单状态  -5订单过期失效-4平台拒绝 -3退款 -2未付款的订单 -1用户取消 0已付款 1已发货 2待发货 3系统确认收货 4平台审核中 5已完成")
    private Integer orderStatus;
    @Excel(name = "订单是否完结 1完结-1未完结")
    private Integer isClosed;
    @Excel(name = "是否支付 -1未支付 1已支付")
    private Integer isPay;
    @Excel(name = "商品总金额")
    private BigDecimal goodsMoney;
    @Excel(name = "订单总金额 (goodsMoney+deliverMoney 或 realMoney+cash)")
    private BigDecimal totalMoney;
    @Excel(name = "支付方式 1:线下现金支付 2 现金账户支付 3第三方支付4.支付宝.5微信6.银联")
    private Integer payType;
    @Excel(name = "订单备注")
    private String orderRemarks;
    @Excel(name = "订单流水号")
    private String orderunique;
    @Excel(name = "付款时间")
    private Date paymentTime;
    @Excel(name = "发货时间")
    private Date deliveryTime;
    @Excel(name = "收货时间")
    private Date receiveTime;
    @Excel(name = "快递单号")
    private String expressNo;
    @Excel(name = "快递公司Id")
    private Integer expressId;
    @Excel(name = "收货地址Id")
    private Long userAddressId;
    @Excel(name = "订单类型1.零售2.批发3.易物")
    private Integer orderType;
    @Excel(name = "下单时间")
    private Date createTime;

}